export namespace frontend {
	
	export class SaveDialogOptions {
	
	
	    static createFrom(source: any = {}) {
	        return new SaveDialogOptions(source);
	    }
	
	    constructor(source: any = {}) {
	        if ('string' === typeof source) source = JSON.parse(source);
	
	    }
	}

}

export namespace main {
	
	export class AIConfig {
	    api_key: string;
	
	    static createFrom(source: any = {}) {
	        return new AIConfig(source);
	    }
	
	    constructor(source: any = {}) {
	        if ('string' === typeof source) source = JSON.parse(source);
	        this.api_key = source["api_key"];
	    }
	}
	export class Config {
	    doc_path: string;
	    html_path: string;
	
	    static createFrom(source: any = {}) {
	        return new Config(source);
	    }
	
	    constructor(source: any = {}) {
	        if ('string' === typeof source) source = JSON.parse(source);
	        this.doc_path = source["doc_path"];
	        this.html_path = source["html_path"];
	    }
	}
	export class Record {
	    file_type: string;
	    url: string;
	    batch_no: string;
	
	    static createFrom(source: any = {}) {
	        return new Record(source);
	    }
	
	    constructor(source: any = {}) {
	        if ('string' === typeof source) source = JSON.parse(source);
	        this.file_type = source["file_type"];
	        this.url = source["url"];
	        this.batch_no = source["batch_no"];
	    }
	}
	export class TemplateResponse {
	
	
	    static createFrom(source: any = {}) {
	        return new TemplateResponse(source);
	    }
	
	    constructor(source: any = {}) {
	        if ('string' === typeof source) source = JSON.parse(source);
	
	    }
	}

}

